Esp Home Multi Sensor Configuration
Configure a micro controller as a motion, temperature, and humidity sensor
Devices
- NodeMCU v3
- DHT22(temp and RH)
- PIR (motion)
Pin Out
maybe I'll create this with mermaidjs
?
#todo
/esphome/esp-0-multisensor.yaml
esphome:
name: "esp-0-multisensor"
esp8266:
board: nodemcuv2
framework:
version: recommended
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
sensor:
- platform: dht
pin: D2
temperature:
name: "esp-0-temp"
humidity:
name: "esp-0-humidity"
update_interval: 60s
binary_sensor:
- platform: gpio
pin: D3
name: "esp-0-motion"
device_class: motion
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Esphome-Web-78D7E5"
password: "ucTgXWUNB2I4"
captive_portal: